
$("#longBtn").on("click",function () {
    // alert("456465")

    $.ajax({
        type:"post",
        url:"/user/login",
        data:{
            username:$("#username").val(),
            pwd:$("#pwd").val()
        },
        dataType:"json",
     success:(data)=>{
        if(data.code==0){
            window.location.href="../pageage/zhuyemian.html"
            alert(data.msg)
        }else{
            alert(data.msg)
        }

     }
        
    })
    
})
$("#enrollBtn").on("click",function () {
    window.location.href="../pageage/enroll.html"
})